]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/bluetooth: Fix label for >1 connected devices
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 21 Aug 2020 19:30:03 +0000 (21:30 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 24 Aug 2020 15:37:08 +0000 (15:37 +0000)
Eeeks, we want two strings here, not one with embedded double quotes.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3073

js/ui/status/bluetooth.js

index 8510944f5956f579d9ad7dac90f7ae0b486747f3..98ccc3d3146fbd7766162adfbc055f4cd1b01196 100644 (file)
@@ -145,7 +145,7 @@ class Indicator extends PanelMenu.SystemIndicator {
 
         if (nConnectedDevices > 1)
             /* Translators: this is the number of connected bluetooth devices */
-            this._item.label.text = ngettext('%d Connected", "%d Connected', nConnectedDevices).format(nConnectedDevices);
+            this._item.label.text = ngettext('%d Connected', '%d Connected', nConnectedDevices).format(nConnectedDevices);
         else if (nConnectedDevices === 1)
             this._item.label.text = connectedDevices[0].name;
         else if (adapter === null)